[IA64] Bugzilla 942 Fix (timer strangeness on restored PV domain)
authorAlex Williamson <alex.williamson@hp.com>
Thu, 12 Apr 2007 04:46:10 +0000 (22:46 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Thu, 12 Apr 2007 04:46:10 +0000 (22:46 -0600)
Time interpolator remembers last status.  When domain is restored, it
should be forgotten. Otherwise the interpolator causes bad timer value.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c

index 695dc3bce53ae4bbf11c2dfd2484d83bf398e727..509456066ea6447aeb8b5540ebc05121d69e47f6 100644 (file)
@@ -852,6 +852,9 @@ time_resume(void)
 
        /* Just trigger a tick.  */
        ia64_cpu_local_tick();
+
+       /* Time interpolator remembers the last timer status.  Forget it */
+       time_interpolator_reset();
 }
 
 ///////////////////////////////////////////////////////////////////////////